import { Module } from '@nestjs/common';
import { VoteService } from './vote.service';
import { VoteController } from './vote.controller';
import {
  ElectionSettingConfig,
  UserConfig,
  VoteConfig,
} from '../common/commonConfigSchema';
import { CrontabService } from '../crontab/crontab.service';

@Module({
  imports: [VoteConfig, UserConfig, ElectionSettingConfig],
  controllers: [VoteController],
  providers: [VoteService, CrontabService],
  exports: [VoteService],
})
export class VoteModule {}
